<?php
  if (!defined('EXPONENT')) exit('');
    if (exponent_users_isAdmin() ||  exponent_permissions_check(array("administrate"),$loc))
    {
        $template=new template("mailsystemmodule","_log_manage_view",$loc); 
        $log=$db->selectObject('mailsystem_log','id='.intval($_REQUEST[id]));
        $log->date = date("F j, Y g:i a", $log->date);
        $template->assign('log',$log);
        $template->output();       
    }
?>
